package com.tianjin.weight.mapper;

import com.tianjin.weight.entity.SysUser;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface SysUserMapper {
    int deleteByPrimaryKey(Long id);
    Long insert(SysUser record);
    Long insertSelective(SysUser record);
    SysUser selectByPrimaryKey(Long id);
    Long updateByPrimaryKeySelective(SysUser record);
    int deletedUsers( @Param("list") List<Long> list);

    SysUser getUserInfoByPhone(String phone);
    List<SysUser> selectByPingUser(@Param("vo") SysUser sysUser);

    SysUser getUserInfoByName(String username);
}
